The typing cursor does not appear in myTextField. In the debugger,
\b makeFirstResponder
\b0 returns the id of the window as it should. And when asked, the window claims that the textField
\i is
\i0 the firstResponder. What's going on?\
\fc0 \
A: The problem is that
\b makeFirstResponder
\b0 just sets the firstResponder. It does not modify the selection. You have to explicitly set the selection if you want the cursor to appear in the TextField. The method
\b selectText
\b0 will do the trick—and it calls
\b makeFirstResponder
\b0 for you. Try using the following code instead:\